


<div>


    <div style="clear: both"></div>

    <% if(datas.length==0){%>
    <div style="height:200px;background-color: white;border: 1px solid #ffffff;-moz-border-radius: 10px;-webkit-border-radius: 10px;margin-top: 20px;padding: 20px;text-align: center">
        <div style="color: #000000;margin-top: 20px;font-size: large;line-height: 150px">当前没有数据!!!</div>
    </div>
    <%}else{%>
    <div style="background-color: white;border: 1px solid #ffffff;-moz-border-radius: 10px;-webkit-border-radius: 10px;margin-top: 20px">
        <% datas.forEach(function(data,index){ %>
        <div style="padding: 20px;padding-bottom: 0px">
            <div style="float: left;width: 80%">
                <span style=""><h5 style="margin: 0px;display: inline;line-height: 30px">话题名称：<%- data.theme %></h5></span>

            </div>
            <div style="float: left;width: 15%">
                <a class="btn btn-warning btn-small" style="margin-right: 10px" onclick="go('<%- data._id%>',<%-data.replyTotal%>);">关联</a>
            </div>
            <br>
            <hr style="margin-bottom: 0px">
        </div>
        <% }) %>
    </div>
    <%}%>
</div>
<div style="width: 600px"></div>
<script>
    function go(pid,reply){
        $.fancybox({//调用fancybox弹出层
            'type':'ajax',
            'href':'/manager/toPost2?id=<%- id%>&pid='+pid+'&reply='+reply

        });
    }
</script>


